$("#frm_kontrak").validate({
	errorPlacement: function(error, element) {
		element.parent().after(error); 
	}, 
	rules: {
		no_kontrak:{required:true},
		pic:{required:true},
		jml_pesan:{required:true},
		harga_per_biji:{required:true},
		nilai_total:{required:true},
	},
	messages: {
		no_kontrak: "No Kontrak harus diisi.",
		pic: "Person in Charge harus diisi.",
		jml_pesan: "Jumlah pesanan harus diisi.",
		harga_per_biji: "harga per biji harus diisi.",
		nilai_total: "Nilai Total harus diisi.",
	}
});